<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link href="http://static-dev.dt-saas.com/Content/Image/favicon.ico" rel="shortcut icon" type="image/x-icon"/>
    <link href="http://static-dev.dt-saas.com/Content/bootstrap/css/bootstrap.min.css" rel="stylesheet"/>
    <link href="http://static-dev.dt-saas.com/Content/bootstrap/css/bootstrapValidator.css" rel="stylesheet"/>
    <link href="http://static-dev.dt-saas.com/Content/bootstrap/css/font-awesome.min.css" rel="stylesheet"/>
    <link href="http://static-dev.dt-saas.com/Content/bootstrap/css/animate.css" rel="stylesheet"/>
    <link href="http://static-dev.dt-saas.com/Content/Style/standard.css" rel="stylesheet"/>
    <link href="css/common.css" rel="stylesheet"/>
    <title>企加云管理后台</title>
</head>
<body>
<div class="header">
    <div class="t-left">
        <img src="../image/logo.png" alt=""/>
    </div>
    <div class="t-right">
        <a href="../">登出</a>
    </div>
</div>
<div class="container">
    <div class="slider">
        <ul>
            <li>
                <a href="../dashboard">
                    <span class="fa fa-dashboard"></span>租户总览
                </a>
            </li>
            <li class="selected">
                <a href="#">
                    <span class="fa fa-envelope-open-o"></span>短信审核
                </a>
            </li>
        </ul>
    </div>
    <div class="content">
        <div class="content-title">待审核短信模板</div>
        <div id="sms_verify_list" class="col-lg-12 col-md-12 col-sm-12 col-xs-12"></div>
        <div class="content-title">已审核短信模板</div>
        <div id="sms_complete_list" class="col-lg-12 col-md-12 col-sm-12 col-xs-12"></div>
    </div>
</div>
<div class='modal fade' id='sms_verify_modal' tabindex='-1' role='dialog' aria-labelledby='blable'
     data-backdrop='static'>
    <div class='modal-dialog' role='document' style="width:800px;">
        <div class='modal-content'>
            <div class='modal-header'>
                <button type='button' class='close' data-dismiss='modal' aria-label='Close'><span aria-hidden='true'>&times;</span>
                </button>
                <h4 class='modal-title'>短信模板审核</h4>
            </div>
            <div class='modal-body'>
                <div class="sms-modal-container">
                    <form id="verify_form">
                        <table>
                            <tr>
                                <td class="sms-modal-name">租户ID</td>
                                <td id="verify_sms_tenant_id" class="sms-modal-text"></td>
                            </tr>
                            <tr>
                                <td class="sms-modal-name">租户信息</td>
                                <td id="verify_sms_tenant_info" class="sms-modal-text"></td>
                            </tr>
                            <tr>
                                <td class="sms-modal-name">模板名称</td>
                                <td id="verify_sms_name" class="sms-modal-text"></td>
                            </tr>
                            <tr>
                                <td class="sms-modal-name">创建时间</td>
                                <td id="verify_sms_create_time" class="sms-modal-text"></td>
                            </tr>
                            <tr>
                                <td class="sms-modal-name">模板内容</td>
                                <td id="verify_sms_content" class="sms-modal-text"></td>
                            </tr>
                            <tr>
                                <td class="sms-modal-name">正则验证</td>
                                <td class="sms-modal-text input">
                                    <div class="form-group">
                                        <input id="verify_sms_regexp" type="text" name="regExp" class="form-control" placeholder="请输入正则表达式"/>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td class="sms-modal-name">键值对</td>
                                <td class="sms-modal-text input">
                                    <div class="form-group">
                                        <input id="verify_sms_key_value" type="text" name="keyValue" class="form-control" placeholder="请输入键值对"/>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td class="sms-modal-name">NOTE</td>
                                <td class="sms-modal-text input">
                                    <div class="form-group">
                                        <input id="verify_sms_note" type="text" name="note" class="form-control" placeholder="请输入NOTE"/>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </form>
                </div>
            </div>
            <div class='modal-footer'>
                <button type='button' id="verify_confirm" class='btn commonBtn'
                        data-loading-text="<span class='fa fa-spin fa-refresh'></span>">
                    通过
                </button>
                <button type='button' class='btn cancel no-events'>驳回(暂未启用)</button>
                <button type='button' class='btn commonBtn cancel' data-dismiss='modal' style='margin-left:5px;'>取消
                </button>
            </div>
        </div>
    </div>
</div>
<div class='modal fade' id='sms_complete_modal' tabindex='-1' role='dialog' aria-labelledby='blable'
     data-backdrop='static'>
    <div class='modal-dialog' role='document' style="width:800px;">
        <div class='modal-content'>
            <div class='modal-header'>
                <button type='button' class='close' data-dismiss='modal' aria-label='Close'><span aria-hidden='true'>&times;</span>
                </button>
                <h4 class='modal-title'>短信模板驳回</h4>
            </div>
            <div class='modal-body'>
                <div class="sms-modal-container">
                    <table>
                        <tr>
                            <td class="sms-modal-name">租户ID</td>
                            <td id="complete_tenant_id" class="sms-modal-text"></td>
                        </tr>
                        <tr>
                            <td class="sms-modal-name">租户信息</td>
                            <td id="complete_sms_tenant_info" class="sms-modal-text"></td>
                        </tr>
                        <tr>
                            <td class="sms-modal-name">模板名称</td>
                            <td id="complete_sms_name" class="sms-modal-text"></td>
                        </tr>
                        <tr>
                            <td class="sms-modal-name">创建时间</td>
                            <td id="complete_sms_create_time" class="sms-modal-text"></td>
                        </tr>
                        <tr>
                            <td class="sms-modal-name">模板内容</td>
                            <td id="complete_sms_content" class="sms-modal-text"></td>
                        </tr>
                        <tr>
                            <td class="sms-modal-name">正则验证</td>
                            <td id="complete_reg_exp" class="sms-modal-text"></td>
                        </tr>
                        <tr>
                            <td class="sms-modal-name">键值对</td>
                            <td id="complete_key_value" class="sms-modal-text"></td>
                        </tr>
                        <tr>
                            <td class="sms-modal-name">NOTE</td>
                            <td id="complete_note" class="sms-modal-text"></td>
                        </tr>
                    </table>
                </div>
            </div>
            <div class='modal-footer'>
                <button type='button' id="complete_cancel_confirm" class='btn error'
                        data-loading-text="<span class='fa fa-spin fa-refresh'></span>">
                    撤回
                </button>
                <button type='button' class='btn commonBtn cancel' data-dismiss='modal' style='margin-left:5px;'>取消
                </button>
            </div>
        </div>
    </div>
</div>
<script src="http://static-dev.dt-saas.com/Content/JS/jquery-1.9.1.js"></script>
<script src="http://static-dev.dt-saas.com/Content/bootstrap/js/bootstrap.js"></script>
<script src="http://static-dev.dt-saas.com/Content/bootstrap/js/bootstrapValidator.min.js"></script>
<script src="http://static-dev.dt-saas.com/Content/bootstrap/js/bootstrap-notify.min.js"></script>
<script src="http://static-dev.dt-saas.com/Content/JS/md5.js"></script>
<script src="http://static-dev.dt-saas.com/Content/JS/iptools_v2.js"></script>
<script src="js/widget.js"></script>
<script>
    Iptools.Start();
    widget._init();
</script>
</body>
</html>